import infoTpl from './tpls/info.tpl';
import text from './static/happy-new-year.txt';
// 222222

/**
 * ccccc
 */

const info = {
  name: 'HuaJi',
  age: 29,
  sex: '男',
};
const appDom = document.querySelector('#app');
appDom.innerHTML = infoTpl(info);

const textDom = document.createElement('p');
textDom.style.cssText = 'width: 200px;height: 200px;background-color: pink;';
textDom.innerText = text;
appDom.appendChild(textDom);
